package com.pangda.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商机记录表
 * </p>
 *
 * @author author
 * @since 2024-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("records")
@ApiModel(value = "Records对象", description = "商机记录表")
public class Records implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商机管理id")
    private Integer businessId;

    @ApiModelProperty(value = "沟通人")
    private String createBy;

    @ApiModelProperty(value = "沟通时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "下次跟进时间")
    private LocalDateTime nextTime;

    @ApiModelProperty(value = "沟通纪要")
    private String record;

    @ApiModelProperty(value = "沟通状态接通-1 拒绝-2 无人接听-3")
    private Integer trackStatus;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "字典键值")
    @TableField("key_items")
    private String keyItems;

    @ApiModelProperty(value = "沟通重点")
    @TableField("key_items_array")
    private String keyItemsArray;
}
